package com.binguo.model.model;

import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;

public class ShopDiscount {
    private Integer id;

    private Integer shopId;

    private String discountName;

    /**
     * 菜品分类
     */
    private String productCategoryIdList;

    /**
     * 用户组
     */
    private String userGroupIdList;

    /**
     * 优惠时间
     */
    private String discountTime;

    /**
     * 优惠时段
     */
    private String discountPeriod;

    /**
     * 1:满折 
2:满减

     */
    private Integer discountType;

    /**
     * 满
     */
    private Integer rule;

    /**
     * 1:每满
2:总满
     */
    private Integer ruleType;

    /**
     * 减 或 折
     */
    private Integer value;

    /**
     * 封顶金额
     */
    private Integer discountTop;

    /**
     * 
1:新建
2:启用
3:停用
     */
    private Integer status;

    private Integer discountHandleTyp;

    private Integer discountPriceUnit;


    public Integer getDiscountHandleTyp() {
        return discountHandleTyp;
    }

    public void setDiscountHandleTyp(Integer discountHandleTyp) {
        this.discountHandleTyp = discountHandleTyp;
    }

    public Integer getDiscountPriceUnit() {
        return discountPriceUnit;
    }

    public void setDiscountPriceUnit(Integer discountPriceUnit) {
        this.discountPriceUnit = discountPriceUnit;
    }

    /**
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * @return shop_id
     */
    public Integer getShopId() {
        return shopId;
    }

    /**
     * @param shopId
     */
    public void setShopId(Integer shopId) {
        this.shopId = shopId;
    }

    /**
     * @return discount_name
     */
    public String getDiscountName() {
        return discountName;
    }

    /**
     * @param discountName
     */
    public void setDiscountName(String discountName) {
        this.discountName = discountName;
    }

    /**
     * 获取菜品分类
     *
     * @return product_category_id_list - 菜品分类
     */
    public String getProductCategoryIdList() {
        return productCategoryIdList;
    }

    /**
     * 设置菜品分类
     *
     * @param productCategoryIdList 菜品分类
     */
    public void setProductCategoryIdList(String productCategoryIdList) {
        this.productCategoryIdList = productCategoryIdList;
    }

    /**
     * 获取用户组
     *
     * @return user_group_id_list - 用户组
     */
    public String getUserGroupIdList() {
        return userGroupIdList;
    }

    /**
     * 设置用户组
     *
     * @param userGroupIdList 用户组
     */
    public void setUserGroupIdList(String userGroupIdList) {
        this.userGroupIdList = userGroupIdList;
    }

    /**
     * 获取优惠时间
     *
     * @return discount_time - 优惠时间
     */
    public String getDiscountTime() {
        return discountTime;
    }

    /**
     * 设置优惠时间
     *
     * @param discountTime 优惠时间
     */
    public void setDiscountTime(String discountTime) {
        this.discountTime = discountTime;
    }

    /**
     * 获取优惠时段
     *
     * @return discount_period - 优惠时段
     */
    public String getDiscountPeriod() {
        return discountPeriod;
    }

    /**
     * 设置优惠时段
     *
     * @param discountPeriod 优惠时段
     */
    public void setDiscountPeriod(String discountPeriod) {
        this.discountPeriod = discountPeriod;
    }

    /**
     * 获取1:满折 
2:满减

     *
     * @return discount_type - 1:满折 
2:满减

     */
    public Integer getDiscountType() {
        return discountType;
    }

    /**
     * 设置1:满折 
2:满减

     *
     * @param discountType 1:满折 
2:满减

     */
    public void setDiscountType(Integer discountType) {
        this.discountType = discountType;
    }

    /**
     * 获取满
     *
     * @return rule - 满
     */
    public Integer getRule() {
        return rule;
    }

    /**
     * 设置满
     *
     * @param rule 满
     */
    public void setRule(Integer rule) {
        this.rule = rule;
    }

    /**
     * 获取1:每满
2:总满
     *
     * @return rule_type - 1:每满
2:总满
     */
    public Integer getRuleType() {
        return ruleType;
    }

    /**
     * 设置1:每满
2:总满
     *
     * @param ruleType 1:每满
2:总满
     */
    public void setRuleType(Integer ruleType) {
        this.ruleType = ruleType;
    }

    /**
     * 获取减 或 折
     *
     * @return value - 减 或 折
     */
    public Integer getValue() {
        return value;
    }

    /**
     * 设置减 或 折
     *
     * @param value 减 或 折
     */
    public void setValue(Integer value) {
        this.value = value;
    }

    /**
     * 获取封顶金额
     *
     * @return discount_top - 封顶金额
     */
    public Integer getDiscountTop() {
        return discountTop;
    }

    /**
     * 设置封顶金额
     *
     * @param discountTop 封顶金额
     */
    public void setDiscountTop(Integer discountTop) {
        this.discountTop = discountTop;
    }

    /**
     * 获取
1:新建
2:启用
3:停用
     *
     * @return status - 
1:新建
2:启用
3:停用
     */
    public Integer getStatus() {
        return status;
    }

    /**
     * 设置
1:新建
2:启用
3:停用
     *
     * @param status 
1:新建
2:启用
3:停用
     */
    public void setStatus(Integer status) {
        this.status = status;
    }
}